<!--<?php
//include_once PrintEot('top');
$lang_user[$ctype]=$ctype ? $lang_user[$ctype] : "全部" ;
print <<<EOT
-->
<table width="95%" align="center" class="userbg" cellspacing=0 cellpadding=5 >
<tr class="head" height="25"><td><h2>{$lang_user[$type]}收藏夹</h2></td></tr>
<tr>
	<td class="b">
<!--
EOT;
if($_GROUP['post']){print <<<EOT
-->
		<a  href="$basename&type=blog">日志</a>
<!--
EOT;
}if($_GROUP['photo']){print <<<EOT
-->
		<a  href="$basename&type=photo">图片</a>
<!--
EOT;
}if($_GROUP['file']){print <<<EOT
-->
		<a  href="$basename&type=file">文件</a>
<!--
EOT;
}if($_GROUP['goods']){print <<<EOT
-->
		<a  href="$basename&type=goods">商品</a>
<!--
EOT;
}if($_GROUP['bookmark']){print <<<EOT
-->
		<a  href="$basename&type=bookmark">书签</a>
<!--
EOT;
}if($_GROUP['music']){print <<<EOT
-->
		<a  href="$basename&type=music">音乐</a>
<!--
EOT;
}print <<<EOT
-->
		<a  href="$basename&ctype=blog">日志</a>
		<a  href="$basename&ctype=photo">相册</a>
		<a  href="$basename&ctype=music">专辑</a>
		<a  href="$basename&ctype=user">博客</a>
	</td>
</tr>
</table>
<br />
<form name='form1' method="post" action="$basename&">
<table width="95%" align=center cellspacing=0 cellpadding=5 class="userbg">
<tr class="head" height="25"><td colspan="2"><h2>收藏夹</h2></td></tr>
<tr align=center height="20">
	<td class="head_2" width='5%'>ID</td>
	<td class="head_2">名称</td>
	<td class="head_2"  width='15%'>类型</td>
	<td class="head_2" width='15%'>收藏时间</td>
	<td class="head_2" width='6%'>删</td>
</tr>
<!--
EOT;
$id=($page-1)*$db_perpage;
foreach($collections as $key=>$val){
$val[type]=$lang_user[$ctype];
$id++;
print <<<EOT
-->
<tr align=center>
<td class="b">$id</td>
<td class="b"><a href="$val[url]" target="_blank">$val[subject]</a></td>
<td class="b">$val[type]</td>
<td class="b" class='smalltxt'>$val[adddate]</td>
<td class="b"><input type="checkbox" name="selid[]" value='$val[id]'></td></tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<input name='step' type=hidden value='del'>
<input name='type' type=hidden value='$type'>
<center><div class="page">$pages</div><br>
<input type="button" class="bt" name="chkall" value="全 选" onclick="CheckAll(this.form)">
<input class="bt" type='Submit' value='提 交' name='Submit' onclick="return checkdel();"></center>
</form><br>

<SCRIPT LANGUAGE='JavaScript'>
function checkdel()
{	
	if(!confirm("确认删除？"))
		return false;
}
</script>

<!--
EOT;
?>